/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dao.utilisateur;

import dao.DaoAbstract;
import entities.utilisateur.Valideur;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author loic.vaugeois
 */
@Stateless
public class DaoValideur extends DaoAbstract<Valideur> implements DaoValideurLocal {
    @PersistenceContext(unitName = "EJBProjetEFPPU")
    private EntityManager em;

    protected EntityManager getEntityManager() {
        return em;
    }

    public DaoValideur() {
        super(Valideur.class);
    }

}
